package com.online.college.core.pay.domain;

import com.online.college.common.orm.BaseEntity;

import java.util.Date;

/**
 * 支付定单表
 */
public class PayOrders extends BaseEntity {

	private static final long serialVersionUID = 94044276250229411L;

	/**
	 * 系统定单号
	 **/
	private String payOrderNo;

	/**
	 * 用户ID
	 **/
	private Long userId;

	/**
	 * 支付类型 1 余额支付 2 支付宝支付 3 微信
	 **/
	private String payType;

	/**
	 * 支付状态 0待支付 1 支付失败 2 支付成功 3支付取消
	 **/
	private String payStatus;

	/**
	 * 实际支付金额
	 **/
	private Double actualAmount;

    /**
     * 支付总金额
     **/
    private Double totalAmount;

	/**
	 * 创建时间
	 **/
	private String creatDate;

	/**
	 * 失效时间
	 **/
	private Date failureDate;

	/**
	 * 更新时间
	 **/
	private Date updateDate;

	/**
	 * 第三方定单号
	 **/
	private String thirdOrderNo;

    /**
     * 定单类型：1余额充值、2购买课程、3 VIP充值
     **/
    private String orderType;

    public String getPayOrderNo() {
        return payOrderNo;
    }

    public void setPayOrderNo(String payOrderNo) {
        this.payOrderNo = payOrderNo;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public Double getActualAmount() {
        return actualAmount;
    }

    public void setActualAmount(Double actualAmount) {
        this.actualAmount = actualAmount;
    }

    public Double getTotalAmount() {
        return totalAmount;
    }

    public void setTotalAmount(Double totalAmount) {
        this.totalAmount = totalAmount;
    }

    public String getCreatDate() {
        return creatDate;
    }

    public void setCreatDate(String creatDate) {
        this.creatDate = creatDate;
    }

    public Date getFailureDate() {
        return failureDate;
    }

    public void setFailureDate(Date failureDate) {
        this.failureDate = failureDate;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public String getThirdOrderNo() {
        return thirdOrderNo;
    }

    public void setThirdOrderNo(String thirdOrderNo) {
        this.thirdOrderNo = thirdOrderNo;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }
}

